@layout("/common/_container.html"){
<style>
    .ui-state-default {
        height: 40px;
        background: #fff;
        border: 1px solid aliceblue;
        line-height: 40px;
        border-radius: 3px;
        margin-bottom: 2px;
        width: 50%;
    }

    .ui-state-default:hover {
        cursor: pointer;
    }

    .title {
        background: #000;
        color: #fff;
    }

    .sortLeft {
        padding-right: 20px;
    }

    .sortRight {
        padding-right: 20px;
    }

    .ui-sortable {
        /*float: right;*/
    }

    .right_box {
        width: 330px;
        height: 400px;
        position: absolute;
        top: 57px;
        left: 590px;
        border: 1px solid #1E84C6;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="addForm">
            <input type="hidden" id="sortMap" value="">
            <input type="hidden" id="reservationsId" value="${reservationsId}">
            <input type="hidden" id="customerId" value="${customerId}">
            <input type="hidden" id="operationTime" value="${operationTime}">
            <input type="hidden" id="refundsType" value="${refundInfo.refundsType}">
            <input type="hidden" id="id" value="${id}">
            <input type="hidden" id="refundMoney" value="${refundInfo.refundMoney}">
            <input type="hidden" id="recordTime" value="${refundInfo.recordTime}">
            <div class="row">
                <div class="col-sm-12">
                    <div class="row">
                        <div id="Div2">
                            <div>
                                门诊：${consultantInfo.outpatientName}&nbsp
                                病历号：${consultantInfo.medicalRecordNumber}&nbsp
                                姓名：${consultantInfo.customerName}&nbsp
                                性别：${consultantInfo.sex}&nbsp
                                年龄：${consultantInfo.customerAge}&nbsp
                                电话：${consultantInfo.customerPhone}&nbsp
                                现场TC：${consultantInfo.tcName}
                            </div>
                        </div>
                        <div class="panel-body">
                            <h2>退款</h2>
                        </div>
                        <div style="width:1300px;height:300px;overflow:auto;" class="panel panel-success sortRight">
                            <div class="row">
                                &nbsp退款金额： ${refundInfo.refundMoney} 元
                            </div>
                            <div>
                                <#button btnCss="info" name="选择退款方式" id="ensure" icon="fa-check" clickFun="Refund.choiceRefundMethod()"/>
                            </div>
                            <div id="refundMethodDetails" class="row">
                            </div>
                            <div class="row">
                                &nbsp退款金额合计：<input disabled="disabled" id="total" value="0">元
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="Refund.refundOut()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="Refund.closes()"/>
                </div>
            </div>
        </div>
    </div>
</div>

<link rel="stylesheet" href="${ctxPath}/static/css/jqui/jquery-ui.min.css">
<script src="${ctxPath}/static/js/jquery-ui.min.js"></script>
<script src="${ctxPath}/static/modular/arrival/customer/refund.js"></script>
@}
